package com.itheima.tlias84.service;

import com.itheima.tlias84.controller.po.InsertStuParam;
import com.itheima.tlias84.controller.po.SelectStuPageParam;
import com.itheima.tlias84.service.dto.SelectStuDTO;
import com.itheima.tlias84.utils.ResultUtil;

import java.util.List;

public interface StuService {
    ResultUtil selectStuByPage(SelectStuPageParam param);

    SelectStuDTO selectStuById(Integer id);

    int deleteStuById(List<Integer> ids);

    int insertStu(InsertStuParam param);

    int updateStu(InsertStuParam param);

    int stuViolation(Integer id, Integer score);

}
